from filmlibClasses import text, add, remove

print text['header']
print text['welcome']

while True:
  cmd = raw_input('->')
  if cmd == 'a':
    add()
  elif cmd == 'r':
    remove()
  elif cmd == 'help':
    print text['h']
  elif cmd == 'q':
    break
  elif cmd == '':
    print 'No command entered'
  else:
    print 'Unknown command'